#!/usr/bin/env python
# *-* coding: utf-8 *-*
#imports
import pygame, random, sys, os
from sys import exit
from pygame.locals import *

def main():
	
	width, height = 800, 600

	pygame.init()
	screen = pygame.display.set_mode((width,height), 0, 32)
	pygame.display.set_caption("Campo Minado")
	inst = pygame.image.load("Novas_Imagens" + os.sep + "instrucoes.png").convert_alpha()
	clock = pygame.time.Clock()
	
	while True:
		clock.tick(30)
		for event in pygame.event.get():
			if event.type == QUIT:
				exit()
		
		key=pygame.key.get_pressed()  #checking pressed keys
		if key[pygame.K_ESCAPE]:
			return	
		#chamada a utilização do mouse
		posicao_mouse = pygame.mouse.get_pos()
		mouse_pressionado = pygame.mouse.get_pressed()

		screen.blit(inst , (0,0))
		pygame.display.update() # update()